/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Perimetro;

/**
 *
 * @author andrea.foglia
 */
 class Perimetro {
  int lato;
  void calculatePerimetro(){
   System.out.print("Perimetro is");
   System.out.println(lato*4);
  }
 public static void main(String args[]){
   Perimetro myperimetro1=new Perimetro();
   myperimetro1.lato=10;
   myperimetro1.calculatePerimetro();
 }
}
 